package com.fy.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.lang.reflect.Array;
import java.util.Arrays;

@Controller
@RequestMapping("/api/p/")
public class ParamController {
    @RequestMapping("a.do")
    public String array(String[] name){
        System.out.println(Arrays.toString(name));
        return "/hello.html";

    }
}
